Home | Printable Version
1.2.10: Insert REST Header
The Insert REST Header action is used to prepare for a REST service call. This lets you easily create the XGate HttpHeader configuration fragment that controls how the REST call will behave. For more information on how this fragment should be used, please refer to the REST Services section of the documentation. Two parameters are required for this action. The first provides the configuration fragment to insert, and should be adjusted as required. The second parameter (to location) is an XPath specifying where to insert this fragment. As for the general Insert action, the Merge Option applies.identifying the element within the FactBase where the new attribute should be added. You will need to ensure that this location is included in the from location specified for the Invoke Service action that actually makes the REST call. Screen-shot of an example Insert REST Header action
Insert Attribute Invoke Service